package base.generic.demo06;

import org.junit.Test;

/**
 * 泛型类继承  测试
 */
public class TestCase {
    /**
     * 获取 泛型类实例
     */
    @Test
    public void testCase1(){
        GenericSub<String, Integer> gs = new GenericSub<>("sann", 30);

        System.out.println(gs.getT());
        System.out.println(gs.getV());
    }
}
